import {loginrequet, request} from './axiosFun'

// 登录接口
export const login = (params) => {
  return loginrequet("post", "/login", params)
};

//首页
export const current = (params) => {
  return request("get", ("/permissions/current"), params + '?0=' + localStorage.getItem('token'))
};
// 退出登录
export const loginout = (params) => {
  return request("post", "/loginout", params)
};

//

